std::vector::rbegin, std::vector::crbegin
From Cppreference
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Containers library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| reverse_iterator rbegin();
|
||
| const_reverse_iterator rbegin() const;
|
||
| const_reverse_iterator crbegin() const;
|
(C++11 feature) | |
Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container.
Contents |
[edit] Parameters
(none)
[edit] Return value
reverse iterator to the first element
[edit] Exceptions
1-3)[edit] Complexity
constant
[edit] See also
|
returns a reverse iterator to the end (public member function) |
||